-- GENERATED SPELL FOR [Slither] --


function spell0_24242(pUnit, Event) --@Venom Spit,n/a--
pUnit:FullCastSpellOnTarget(43579,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24242', 7000, 1)
end

function Sorts_24242(pUnit, Event)
local choix_sorts_24242 = math.random(0, 0)
if choix_sorts_24242 == 0 then
pUnit:RegisterEvent('spell0_24242', 1, 1)
end
end

function mob24242_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24242', math.random(1500, 3000), 1)
end

function mob24242_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24242_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24242_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24242, 1, 'mob24242_Action')
RegisterUnitEvent(24242, 2, 'mob24242_Leave')
RegisterUnitEvent(24242, 3, 'mob24242_Kill')
RegisterUnitEvent(24242, 4, 'mob24242_Die')
